package com.mashibing.juc.c_009;

import java.util.concurrent.locks.ReentrantLock;

/**
 * @ClassName T01_AQS
 * @Description 读AQS源码
 * @Author xiongwei.wu
 * @Date 2021/7/14 9:15
 **/
public class T01_AQS {

    private static volatile int i = 0;

    public static void main(String[] args) {
        ReentrantLock lock = new ReentrantLock();
        lock.lock();
        i++;
        lock.unlock();
    }
}
